package com.four.basicinfo.service;

import com.four.basicinfo.entity.Migrate;

public interface MigrateService {
    /**
     * 查询移居
     *
     * @param id 移居主键
     * @return 移居
     */
    public Migrate selectMigrateById(Long id);
    /**
     * 新增移居
     *
     * @param migrate 移居
     * @return 结果
     */
    public int insertMigrate(Migrate migrate);

    /**
     * 修改移居
     *
     * @param migrate 移居
     * @return 结果
     */
    public int updateMigrate(Migrate migrate);
    /**
     * 删除移居信息
     *
     * @param id 移居主键
     * @return 结果
     */
    public int deleteMigrateById(Long id);
}
